.product {
  width: 100%;
  box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;

  .pro-top {
    text-align: center;
    margin-bottom: 40px;

    h4 {
      margin-top: 80px;
      font-size: 32px;
    }

    div {
      margin-top: 20px;
      font-size: 24px;
    }
  }

  .pro-main {
    max-width: 1200px;
    padding-left: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 100px;
    li {
      width: 32%;
      display: flex;
      justify-content: space-around;
      align-items: center;
      max-height: 400px;
      &:nth-child(n + 4) {
        margin-top: 2%;
      }
      &:nth-child(3n-1) {
        margin-left: 2%;
        margin-right: 2%;
      }
      a {
        display: flex;
        width: 100%;
        height: 100%;

        img {
          border-radius: 20px;
          box-shadow: 0 0 10px 0 rgba(123, 123, 123, 0.3);
          width: 100%;
          height: 100%;
          &:hover {
            box-shadow: 0 0 10px 0 rgba(7, 121, 196, 0.5);
          }
        }
      }
    }
  }
}
@media screen and (max-width: 768px) {

  .product {
    padding-top: 20px !important;
    width: 100%;
    padding: 0 8px;
    margin-bottom: -90px;
    .pro-top {
      display: none;
    }
    .pro-main{
      padding-left: 0;
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      li{
        width: 48%;
        &:nth-child(3n-1){
          margin: 0;
        }
        &:nth-child(2n-1){
          margin-right: 4%;
        }
        &:nth-child(n+4){
          margin-top: 0;
        }
        margin-bottom: 4% !important;
        img{
          width: 331px;
          height: 331px;
        }
      }
    }
  }
}
